package com.sprint.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sprint.domain.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/*
@Mapper
public interface BookDao {

    @Select("select * from tbl_book where id =#{id}")
    Book getbyId(Integer id);
}
*/
@Mapper
@Repository
public interface BookDao extends BaseMapper<Book> {

}